package com.xiaow.android.ebook.mvc.controller.filter;

import java.util.HashMap;

public class FilterController {
	public static HashMap<Integer, Class<? extends IFilters>> filters = new HashMap<Integer, Class<? extends IFilters>>();
	private static FilterController intance;

	protected FilterController() {
	}

	public static FilterController getInstance() {
		if (intance == null) {
			intance = new FilterController();
		}
		return intance;
	}

	public void registerServiceFilter(int id, Class<? extends IFilters> filter) {
		filters.put(id, filter);
	}

}
